<template>
  <div>
    <img :src="imgPath" style="width: 300px;height: 300px">
  </div>
</template>
<script>
import axios from "axios";
export default {
  data() {
    return {
      imgPath:''
    }
  },methods:{
    init(){
      axios.get("/apm/imgPath/1").then(r=>{
        // this.imgPath="http://localhost:8080/"+r.data;
        this.imgPath="http://43.139.236.170:8080/"+r.data;
      })

    }
  },mounted(){
    this.init();

  }
}
</script>

<style scoped>

</style>